package com.xuanyuan.adapter

import android.app.Activity
import com.xuanyuan.material.*
import com.xuanyuan.test.TestActivity

/**
 * Copyright (C), 2017-2022, Anker
 * FileName: JumpGoBean
 *
 * @author ken.luo
 * Date: 2022/6/20 10:26
 * Description: 跳转实体
 * History:
 * 创建者 : ken.luo
 * <author>     <time>     <version>      <desc>
 * 作者姓名      修改时间      版本号          描述
</desc></version></time></author> */
class JumpGoBean(var des: String, var cls: Class<out Activity>) {
    companion object {
        fun getDataList(): ArrayList<JumpGoBean> {
            val list = arrayListOf<JumpGoBean>()
            list.add(JumpGoBean("TextInputLayout", TextInputLayoutActivity::class.java))
            list.add(JumpGoBean("SnackBar", SnackBarActivity::class.java))
            list.add(JumpGoBean("FloatingActionButton", FloatingActionButtonActivity::class.java))
            list.add(JumpGoBean("SwitchMaterial", SwitchMaterialActivity::class.java))
            list.add(JumpGoBean("BottomAppBar", BottomAppBarActivity::class.java))
            list.add(JumpGoBean("Material Button", MaterialButtonActivity::class.java))
            list.add(JumpGoBean("Chip", ChipActivity::class.java))
            list.add(JumpGoBean("TabLayout", TabLayoutActivity::class.java))
            list.add(JumpGoBean("TestActivity", TestActivity::class.java))
            list.add(JumpGoBean("Slider", SliderActivity::class.java))
            list.add(JumpGoBean("ProgressIndicators", ProgressIndicatorsActivity::class.java))
            list.add(JumpGoBean("ShapeableImageView", ShapeableImageViewActivity::class.java))
            list.add(JumpGoBean("MaterialShapeDrawable", MaterialShapeDrawableActivity::class.java))
            return list
        }
    }


}